package com.jg.service.impl;

import com.jg.model.entity.Squad;
import com.jg.mapper.SquadMapper;
import com.jg.service.SquadService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 86130
 * @since 2025-10-22 10:25
 */
@Service
public class SquadServiceImpl extends ServiceImpl<SquadMapper, Squad> implements SquadService {

    @Autowired
    private SquadMapper squadMapper;
    @Override
    public List<Squad> listBYDesc() {
        return squadMapper.listBYDesc();
    }
}
